﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Yp:YDYPFATHER, InterfaceUSB
    {
        private string name;
        public string Name { get; set; }
        public Yp(string brand,string name):base(brand) 
        {   
            this.name = name;
        }

        public  void read()
        {
            Console.WriteLine("{0}的{1}在读取数据",this.Brand,this.name);
        }
        public  void write()
        {
            Console.WriteLine("{0}的{1}在写入数据",this.Brand,this.name);
        }
    }
}
